package com.aca.market.mapper;

import com.aca.market.entity.Item;
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author aca
 * @since 2020-11-13
 */
/*
@InterceptorIgnore()
属性名	类型	默认值	描述
tenantLine	String	""	行级租户
dynamicTableName	String	""	动态表名
blockAttack	String	""	攻击 SQL 阻断解析器,防止全表更新与删除
illegalSql	String	""	垃圾SQL拦截
 */
@Mapper
@Repository
@InterceptorIgnore(blockAttack = "true")
@Transactional
public interface ItemMapper extends BaseMapper<Item> {

}
